package com.woniuxy.rbac.web.api;

import com.woniuxy.rbac.entity.ResponseResult;
import com.woniuxy.rbac.entity.Subject;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Auther: 老谭（<a href="http://www.woniuxy.com">蜗牛学苑</a>）
 */
@RestController("apiRestController")
@RequestMapping("/api/v1/subject")
public class SubjectController {
    @GetMapping("all")
    public ResponseResult<List<Subject>> get(){
        return ResponseResult.SUCCESS;
    }




}
